package ca.ets.osgi.hotelservice;

/**
 * Represent an Hotel
 * @author HP_Administrator
 *
 */
public abstract class HotelAbs {
	
	//
	private String hotelName;
	private Adresse Adresse;
	private String phone;
	private String hotelID;
	private String dateStart;
	private String dateEnd;
	
	/**
	 * CONSTRUCTOR
	 */
	public HotelAbs(){}

	/**
	 * @return the hotelName
	 */
	public String getHotelName() {
		return hotelName;
	}

	/**
	 * @param hotelName the hotelName to set
	 */
	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}

	/**
	 * @return the adresse
	 */
	public Adresse getAdresse() {
		return Adresse;
	}

	/**
	 * @param adresse the adresse to set
	 */
	public void setAdresse(Adresse adresse) {
		Adresse = adresse;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return the hotelID
	 */
	public String getHotelID() {
		return hotelID;
	}

	/**
	 * @param hotelID the hotelID to set
	 */
	public void setHotelID(String hotelID) {
		this.hotelID = hotelID;
	}

	/**
	 * @return the dateStart
	 */
	public String getDateStart() {
		return dateStart;
	}

	/**
	 * @param dateStart the dateStart to set
	 */
	public void setDateStart(String dateStart) {
		this.dateStart = dateStart;
	}

	/**
	 * @return the dateEnd
	 */
	public String getDateEnd() {
		return dateEnd;
	}

	/**
	 * @param dateEnd the dateEnd to set
	 */
	public void setDateEnd(String dateEnd) {
		this.dateEnd = dateEnd;
	}
	
	
	
	public String toString(){
		return this.getHotelName() + " , "+ this.getAdresse().getRue() + " " + this.getAdresse().getVille() + " " + this.getAdresse().getProvince() + " " + this.getAdresse().getCodePostal() +  " ,From " + this.getDateStart() + " To " + this.getDateEnd();
		
	}
	

}
